/**
 * 短信模板代码类型定义
 * @author 橘柚
 * @since 2025/5/19 08:50
 */
export type SmsConstants = {
  // 登录
  LOGIN: "SMS_486145209";
  // 注册
  REGISTER: "SMS_486280222";
  // 找回密码
  FORGET_PASSWORD: "SMS_486305190";
};

export const SmsCodes: SmsConstants = {
  LOGIN: "SMS_486145209",
  REGISTER: "SMS_486280222",
  FORGET_PASSWORD: "SMS_486305190"
} as const; // 使用as const确保类型精确匹配

export type SmsOperationTypes = {
  LOGIN: "login";
  REGISTER: "register";
  FORGET_PASSWORD: "reset_password";
}

export const SmsOperation: SmsOperationTypes = {
  LOGIN: "login",
  REGISTER: "register",
  FORGET_PASSWORD: "reset_password"
} as const;
